package adminRequest

type EnrollRuleListRequest struct {
	Page     int `form:"page" json:"page" validate:"required"`
	PageSize int `form:"pageSize,default:15" json:"pageSize,default:15"`
}

type AddEnrollRuleRequest struct {
	Year    int    `form:"year" json:"year" validate:"required" msg:"年份必须存在"`
	TypeId  int    `form:"type_id" json:"type_id" validate:"required" msg:"类型必须存在"`
	LqName  string `form:"lq_name" json:"lq_name" validate:"required" msg:"规则名称必须存在"`
	LqRange string `form:"lq_range" json:"lq_range" validate:"required" msg:"人员范围必须存在"`
	LqField string `form:"lq_field" json:"lq_field" validate:"required" msg:"录取字段必须存在"`
	LqType  string `form:"lq_type" json:"lq_type" validate:"required" msg:"录取类型必须存在"`
	TjType  int    `form:"tj_type" json:"tj_type" validate:"required" msg:"调剂方式必须存在"`
}

type EditEnrollRuleRequest struct {
	AddEnrollRuleRequest
	Id int64 `form:"id" json:"id" validate:"required" msg:"id必须存在"`
}
